package edu.sziit.manager_application.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-09-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderProduct implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单详情id
     */
    private Long orderId;

    /**
     * 商品id
     */
    private Long pid;

    /**
     * 单价
     */
    private Double price;

    /**
     * 数量
     */
    private Integer count;


}
